package com.zkool.train.repository;

import com.zkool.train.entity.TrainStation;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

/**
 * Created by zhaokui on 2019/8/11.
 */
@Repository
public interface TrainStationRepository extends JpaRepository<TrainStation, Long> {

    TrainStation findByName(String name);

}
